package ModelLayer;

/**
 * Write a description of class Person here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Person
{
   private long id;
   private String name;
   private String address;
   private String postalCode;
   private String city;
   private String phone;
   
   
   public Person(long id, String name, String address, String postalCode, String city, String phone)
   {
       this.id = id;
       this.name = name;
       this.address = address;
       this.postalCode = postalCode;
       this.city = city;
       this.phone = phone;
   }
   
   //set & get methods
   
   public long getId()
   {
       return id;
   }
    
   public String getName()
   {
       return name;
   }
    
   public String getAddress()
   {
       return address;
   }
   
   public String getPostalCode()
   {
       return postalCode;
   }
   
   public String getCity()
   {
       return city;
   }
   
   public String getPhone()
   {
       return phone;
   }
   
   public void setPostalCode(String postalCode)
   {
       this.postalCode = postalCode;
   }
   
   public void setCity(String city)
   {
       this.city = city;
    }
      
   public void setPhone(String phone)
   {
       this.phone = phone;
   }
   
   public void setName(String name)
   {
       this.name = name;
    }
    
   public void setAddress(String address)
   {
       this.address = address;
   }
   
      public void setId(long id)
   {
       this.id = id;
   }
}
